package my_double_LinkedList;/*
 *@ 代阳敲的专属代码
 **/

public class MainTest {
    public static void main(String[] args) {
        DoubleLinkedList   list = new DoubleLinkedList();
        list.addFirst(1);
        list.addFirst(2);
        list.addFirst(2);
        list.addFirst(2);
//        System.out.println(list.contains(3));
//        System.out.println(list.contains(99));
        System.out.println(list.size());
        list.addLast(11);
        list.addLast(12);
        list.addLast(13);
        list.addLast(14);
        list.display();
        list.removeAllKey(2);
        list.display();
    }
}
